Closed micahwoodard closed 2 months ago
Hi @helen-m-lin and @mekhlakapoor I'm definitely not done but so far I've created a custom select widget and basically if the options == ['string', 'number'], the selectwidget doesn't appear. It's working in that aspect but the formatting now seems off for the rest of the select widgets. I was wondering if you had any suggestions on why or how to change it back to match the rest of the widgets? I'm going to keep digging but figured I'd ask if you knew off the top of your head!
I added test scripts and checked that all anyOfs have number first. I think I need to add another layer if the options are number, string, null though so currently doing that
Okay added in condition of removing string if options are number/string/null
Left some comments! Could you also check that the output json passes pydantic validation?
Yes it seems like it validates, but I'm basing that on the fact that when I click the validate button, it doesn't complain. Is that what you mean?
John mentioned that the text box actually needs to be a string text box so I'm working on that now
@helen-m-lin I've spent a bit of time last week and this morning trying to figure out how to either change the resulting textbox or change the default of the anyof widget but I haven't had a ton of luck. Is there anything you would suggest looking into or would changing the schema to have the string be the first input be a possibility?
fixes #148