Forum Discussion

JoseCVM's avatar
JoseCVM
Microsoft Employee
6 years ago
Solved

Limit selected items in nested navigation table

Hello,   As the title says, I'm having trouble figuring out how do I limit the number of selected items in a nested navigation table. I need to enforce a global maximum of 1 selected leaf item, ind...
  • artemus's avatar
    artemus
    6 years ago

    Here is an example of a function that only lets you choose one of three options:

     

    = Value.ReplaceType((txt as text) => ..., (type function (txt as (type text meta [Documentation.AllowedValues={"a", "b","c"}])) as any))