cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
stapes
Post Prodigy
Post Prodigy

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?

@EAguilera  - yes

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

no pallets.png

@EAguilera  - here you go!

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,836)