I get an unexpected two input boxes where if I edit the first one which seems to be for the two "type" fields the value inputted in the second box will not effect the formData.
What is the correct way to handle these types or is there a way to set a default or hide the number, string types drop down?
Prerequisites
What theme are you using?
core
What is your question?
I have a type that can be of either string or numeric as below:
I am trying to create a custom widget for the field that is simply an input box but when I replace the widget as something like below:
I get an unexpected two input boxes where if I edit the first one which seems to be for the two "type" fields the value inputted in the second box will not effect the formData.
What is the correct way to handle these types or is there a way to set a default or hide the number, string types drop down?