strip color keys from webfront form lists
This commit is contained in:
parent
15c3ca53e2
commit
425ec2621d
@ -154,6 +154,7 @@ namespace SharedLibraryCore
|
|||||||
}
|
}
|
||||||
|
|
||||||
str = Regex.Replace(str, @"(\^+((?![a-z]|[A-Z]).){0,1})+", "");
|
str = Regex.Replace(str, @"(\^+((?![a-z]|[A-Z]).){0,1})+", "");
|
||||||
|
str = Regex.Replace(str, @"\(Color::(.{1,16})\)", "");
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
<select name="@input.Name" class="form-control" aria-label="@input.Name" aria-describedby="basic-addon-@input.Name">
|
<select name="@input.Name" class="form-control" aria-label="@input.Name" aria-describedby="basic-addon-@input.Name">
|
||||||
@foreach (var item in input.Values)
|
@foreach (var item in input.Values)
|
||||||
{
|
{
|
||||||
<option value="@item.Key">@item.Value</option>
|
<option value="@item.Key"><color-code value="@item.Value"></color-code></option>
|
||||||
}
|
}
|
||||||
</select>
|
</select>
|
||||||
}
|
}
|
||||||
@ -48,4 +48,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
<button type="submit" class="btn btn-block btn-primary">@Model.ActionButtonLabel</button>
|
<button type="submit" class="btn btn-block btn-primary">@Model.ActionButtonLabel</button>
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
Reference in New Issue
Block a user