79648054

Date: 2025-06-02 00:16:58
Score: 1.5
Natty:
Report link

i found one of the solution, if you know more, please let me know -solution is very simple, as greetings is simple list, let make it empty using this line of code :

greeting.current.controls=[]

so that updated fragment  will be this :
    def hello_here(e):
        greeting.current.controls=[]
        greeting.current.controls.append(ft.Text(f'hello {first_name.current.value} {last_name.current.value}'))
        first_name.current.value =""
        last_name.current.value =""
        first_name.current.focus()
Reasons:
  • Whitelisted phrase (-1): solution is
  • RegEx Blacklisted phrase (2.5): please let me know
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: rain snow