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
EAguilera
Frequent Visitor

@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
Frequent Visitor

Hi @stapes,

Are you using this formula in the Default property?

stapes
Impactful Individual
Impactful Individual

@EAguilera  - yes

EAguilera
Frequent Visitor

@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
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (5,108)