cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
stapes
Impactful Individual
Impactful Individual

How do I set a TextInput field to a blank?

I am trying to display the contents of this field, or blank if the field is empty. This does not work - and leaves the old data showing:

 

If(
    IsBlank(First(InspectionDetailsCollection).Notes) || IsEmpty(First(InspectionDetailsCollection).Notes),
    "",
    First(InspectionDetailsCollection).Notes
)

This blanks it out with a space, but then is an invalid input when the form is submitted:

If(
    IsBlank(First(InspectionDetailsCollection).Notes) || IsEmpty(First(InspectionDetailsCollection).Notes),
    " ",
    First(InspectionDetailsCollection).Notes
)

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

@stapes 
Could you please show a capture from InspectionDetailsCollection?

 

Have you tried with Blank() instead of "" or " "?

View solution in original post

4 REPLIES 4
EAguilera
Helper I
Helper I

Hi @stapes,

Are you using this formula in the Default property?

stapes
Impactful Individual
Impactful Individual

@EAguilera  - yes

@stapes 
Could you please show a capture from InspectionDetailsCollection?

 

Have you tried with Blank() instead of "" or " "?

stapes
Impactful Individual
Impactful Individual

no pallets.png

@EAguilera  - here you go!

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Solution Authors
Top Kudoed Authors
Users online (2,088)