Comments (3)
Conflict with the html tag. not a bug of antd-blazor. you can fix like this:
<Row Gutter="24">
<AntDesign.Col Span="12">
<h1>test1</h1>
</AntDesign.Col>
<AntDesign.Col Span="12">
<h1>test2</h1>
</AntDesign.Col>
</Row>
from ant-design-blazor.
Use <Antdesign.Col> to workaround.
from ant-design-blazor.
I'm not sure what the original issue description is, but I'm pretty sure its the same problem.
@ElderJames, this bug prevents using components with scopes. Sample:
@if (SomeCondition == null)
{
<Row>
<Col>
<Text>Test</Text>
</Col>
</Row>
}
compiler error Found a malformed 'Col' tag helper. Tag helpers must have a start and end tag or be self closing.
Workaround: set a RenderFragment
variable and add it to self-closing Col
component like this:
<Col ChildContent=@myRenderFragment />
@code
{
private RenderFragment _myRenderFragment;
protected override void OnInitialized()
{
_myRenderFragment = @<Text>my text</Text>;
}
}
from ant-design-blazor.
Related Issues (20)
- datepicker when click <> to switch to prev/next month, will cause form submit, that is unexpect
- When Table Selection is set to Disabled, the context is null. HOT 1
- Upload - ShowUploadList wrong and missing documentation HOT 1
- Table: Determine totals row (SummaryRow) using filter? HOT 1
- BUG Report: Cannot read properties of null (reading 'removeEventListener') HOT 1
- DisabledDate Disable the same year when its available HOT 3
- Can it be used in webview2? HOT 2
- Seems a bug in Dictionary Support in Form HOT 5
- Issue of InputNumber component HOT 2
- Table Select HOT 3
- Theme using InteractiveAuto HOT 4
- The type 'IsExternalInit' exists in both AntDesign and System.Runtime HOT 1
- Will the TreeTransfer component be implemented in the future? HOT 1
- Antblazer Pro always jumps to the homepage
- Please suspend support for.NET versions below 7.0 HOT 1
- The treeselect component AllowClear is invalid HOT 1
- NullReferenceException in FormItem 0.18.2 HOT 7
- As long as in the asynchronous code, _table. ReloadData(); Why doesn't it take effect? HOT 10
- AutoFocus by Select
- Table component: When the column is fixed on the left, the column is not the first, and the position is fixed incorrectly HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ant-design-blazor.