Test:

Drupal version: 8.3

Double field: boolean and text.

Second (text) field display and form display: OK!

First (boolean) field display ok, but the form display wrong!

First field form display a text field. (Correct appearance checkbox)

Comments

Somfai Tibor created an issue. See original summary.

chi’s picture

Status: Active » Postponed (maintainer needs more info)
Related issues: +#2742699: Default widget should match field type

Have you configured form widget for the field?

Somfai Tibor’s picture

Status: Postponed (maintainer needs more info) » Active

Widget only checkbox, but I save it again.

Oh thanks!

That's how it works.

If select boolean then why not form display formatter is default checkbox?

chi’s picture

It's explained in the issue I referenced. Btw, did you see a notice when changed field settings?

Somfai Tibor’s picture

I did not make the field. I tried to fix the problem.
So far, I have not used the double field yet.
I already see that there is really a warning when creating a field.

Thanks for the help me!

chi’s picture

Title: Boolean field form display wrong! » Widget type for boolean subfield is wrong
Category: Bug report » Support request
Priority: Major » Normal
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.