Help using anvil_extras Augment

Hi Stu

Ive just added the anvil_extras package. I can add all the form components no problem, but wanted to use AnvilAugment for the events it has in it.

Ive added the from anvil_extras import augment

and am getting this error NameError: name 'augment_set_event_handler' is not defined

I must be doing something wrong, can you help.

It should be augment.set_event_handler rather than augment_set_event_handler. Does that do it?

1 Like

It does, thank you!!!

1 Like

Ah. The joys of trying to do this stuff on a phone in the bath without my glasses. Lesson learned!

2 Likes

Cue Kylie Minogue … “I just can’t get that outta my head …”

4 Likes