How to set a initial value to IBAPickListFormField

40 views
Skip to first unread message

Vinicius Albino

unread,
Mar 22, 2013, 4:01:55 PM3/22/13
to ibaf...@googlegroups.com
In 

IBATextFormField i can set a value to the TextField with the method:

 [nomeFantasia setFormFieldValue:@"nome_Fantasia"];

How i can set in the IBAPickListFormField? 

Chris Greenwood

unread,
Apr 18, 2013, 10:46:22 AM4/18/13
to ibaf...@googlegroups.com
Did you ever find a solution for this?

Sadat Rahman

unread,
Apr 18, 2013, 10:02:42 PM4/18/13
to ibaf...@googlegroups.com
You need to set the value on your model object, and the use of KVO
within IBAForms will automagically update the UI.

[BTW, IBAForms is no longer actively supported. It is strongly
recommended that you use EZForm moving forward. See:
https://github.com/chrismiles/EZForm.]

Sean Woodhouse

unread,
Apr 18, 2013, 10:31:25 PM4/18/13
to ibaf...@googlegroups.com
Sadat is right, you should set the value on your model and let IBAForms update the UI for you.

WRT the state of IBAForms, Itty Bitty Apps not actively maintaining the library outside projects we use it on, but there are a few companies using it and adding features where they need. We'll do the same should a client project warrant use of the library. The discussion group is here for users of the library to help each other, though there doesn't seem to be many people answering questions other than the inner circle of people who've used the library. EZForms is certainly a great alternative and worth looking at if it satisfies your needs but both libraries have their sweet spots.

Cheers

Sean

--
You received this message because you are subscribed to the Google Groups "IBAForms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ibaforms+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



Reply all
Reply to author
Forward
0 new messages